home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / bin / nvidia-detector < prev    next >
Text File  |  2009-10-29  |  257b  |  11 lines

  1. #! /usr/bin/python
  2. import NvidiaDetector
  3. from NvidiaDetector.nvidiadetector import NvidiaDetection, NoDatadirError
  4. import sys
  5.  
  6. if __name__ == '__main__':
  7.     try:
  8.         a = NvidiaDetection(printonly=True)
  9.     except NoDatadirError, e:
  10.         sys.exit(0)
  11.